package org.example.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@TableName("class")
public class ClassEntity {

    @TableId(type = IdType.AUTO)
    private Integer classId;  // 班级ID
    private String className; // 班级名称
    private Float averageClassscore; // 班级平均分
    private Float highestScore; // 班级最高分
    private Float lowestScore; // 班级最低分
    private LocalDateTime createTime; // 创建时间
    private Integer createBy; // 创建人
private Integer examName;
    // Getters and Setters
    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Float getAverageClassscore() {
        return averageClassscore;
    }

    public void setAverageClassscore(Float averageClassscore) {
        this.averageClassscore = averageClassscore;
    }

    public Float getHighestScore() {
        return highestScore;
    }

    public void setHighestScore(Float highestScore) {
        this.highestScore = highestScore;
    }

    public Float getLowestScore() {
        return lowestScore;
    }

    public void setLowestScore(Float lowestScore) {
        this.lowestScore = lowestScore;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }
}

